package nc.gk.gkxm.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("题目实体")
public class TopicVO implements Serializable {
    @ApiModelProperty(value = "题目主键", required = true, position = 1, example = "1")
    private Integer topicid;
    //    id
    private Integer sort;

    @ApiModelProperty(value = "题号", required = true, position = 2, example = "1")
    private Integer number;
    @ApiModelProperty(value = "题目内容", required = true, position = 3, example = "你是不是有毒？")
    private String topic;
    @ApiModelProperty(value = "答案", required = true, position = 4, example = "A")
    private String answer;

    @ApiModelProperty(value = "解析", required = true, position = 5, example = "根据分析内容可得")
    private String tanalyze;
    @ApiModelProperty(value = "选项", required = true, position = 6)
    private List<OptionVO> options;
    @ApiModelProperty(value = "题目类别", required = true, position = 7)
    private SortVO sortVO;

}
